package cn.yhjz.platform.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 登录用户
 */
@Data
public class SysUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type= IdType.AUTO)
    private Long id;
    private String userCode;
    private String username;
    private String nickname;
    private String password;
    private String mailAddress;
    private String deptCode;
    private String avatarFileCode;
    private String avatarFileHash;
    private String createdBy;
    private String updatedBy;
    private Date createdTime;
    private Date updatedTime;
    private Date lastLoginTime;
}
